package config

var Config = new(FileServerConfig)

type FileServerConfig struct {
	Host    HostConfig      `yaml:"host"`
	Folders []FoldersConfig `yaml:"folders"`
}

type HostConfig struct {
	Name   string `yaml:"name"`
	Port   int    `yaml:"port"`
	Prefix string `yaml:"prefix"`
}

type FoldersConfig struct {
	Prefix string `yaml:"prefix"`
	Path   string `yaml:"path"`
}
